package com.groupbuying.provider.service;

import com.groupbuying.provider.dto.forManage.StoreRoleDO;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

public interface StoreRoleService {
    /**
     * 获取用户的角色id
     * @param userId
     * @return 角色id
     */
    List<BigInteger> roleIdsByUserId(String userId);

    StoreRoleDO get(BigInteger id);

    List<StoreRoleDO> listLike(Map<String, Object> map);

    int countLike(Map<String, Object> map);
}
